﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TimKen.BussLogic;

namespace TimKen.Web.Company
{
    public partial class Company : TimKen.App.WebPage
    {
        public DataEntity.Article culture;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindInit();
            }
        }

        public void BindInit()
        {
            ArticleManager am = new ArticleManager();
            List<DataEntity.Article> articleList = am.GetModelList("  TypeID=6 AND LanguageID=" + LanguageID);
            if (articleList != null && articleList.Count > 0)
            {
                culture = articleList[0] as DataEntity.Article;
            }
        }
    }
}